import { CSSProperties } from "vue"

type Pos = 'left'|'right'|number
export interface PickerProps{
    initial?: string
    entryStyles?: CSSProperties
    entryActiveStyles?: CSSProperties
    entryClassName?: string
    pos?: Pos
    panelBaseZIndex?:number
    entryRespondDelay?:number
    panelClickStopPropagation?:boolean
    showPackageName?:boolean
}

export interface PickerWithPresetsProps extends PickerProps{
    initialSelectedPreset?:string
    presets?: NamedPreset[]
    posInternal?: Pos
}

export interface NamedPreset{
    colorHex:string,
    name:string
}